home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 2000-12-11 | 98.5 KB | 2,165 lines
card_3037.xml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" > <card> <id>3037</id> <filler1>0</filler1> <bitmap>BMAP_3749.pbm</bitmap> <cantDelete> <true /> </cantDelete> <showPict> <true /> </showPict> <dontSearch> <false /> </dontSearch> <owner>2606</owner> <link rel="stylesheet" type="text/css" href="stylesheet_3256.css" /> <part> <id>115</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>165</left> <top>199</top> <right>252</right> <bottom>218</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>View Page</name> <script>on mouseEnter put return&return&"Enables you to view the current page in your browser, after"&&¬ "an optimizing and/or converting job. If more pages were handled you can select one." into text1 if enabled of me then FullBalloons "ShowDirect","View Page"&text1 else FullBalloons "ShowDirect","View Page (disabled)"&text1&¬ return&"This button is only enabled after a finished job and disabled after an aborted job." end if end mouseEnter on mouseUp global lastPage,thisSelect repeat 2 if me is empty then send mouseUp to btn "openBrowser" if me is "error" then put empty into me exit repeat end if end repeat if me is empty then answer file "Select your standard Internet browser:" of type "APPL" if the result is "Cancel" or it is empty then exit mouseUp else put it into me end if if thisSelect is "one" then open (btn id 26 & "Optimizer Output:" & lastPage) with me else if thisSelect is "all" then send mouseUp to btn "activateMe" answer file "Choose a web page from the Optimizer Output folder:" of type "TEXT" if the result is "Cancel" or it is empty then exit to HyperCard else open it with me end if end mouseup </script> </part> <part> <id>1</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>16</left> <top>47</top> <right>400</right> <bottom>185</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>10</textSize> <textStyle>plain</textStyle> <textHeight>13</textHeight> <name>Intro</name> <script>on mouseUp if the clickText is "'About Optimizing'" then find string "About Optimizing " in me click at 0,0 else if the clickText contains "barebones.com" then select the clickChunk wait 5 select empty send mouseUp to btn "downloadBBEdit" else set scroll of me to 0 end mouseUp </script> </part> <part> <id>3</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>164</left> <top>248</top> <right>254</right> <bottom>266</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Optimize…</name> <script>on mouseEnter FullBalloons "ShowDirect","Optimize"&return&return&"Starts the optimizing process,"&&¬ "at choice after first converting special characters, if indicated at the Preferences." end mouseEnter on mouseUp global showLog Fullballoons "isOn" if the result then Fullballoons "Off" put false into showLog disableThings selectWebPages end mouseUp</script> </part> <part> <id>42</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>288</left> <top>199</top> <right>388</right> <bottom>218</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Check Tags…</name> <script>on mouseEnter FullBalloons "ShowDirect","Check Tags"&return&return&"Starts the process of checking the"&&¬ "tagged pairs and the Width, Height and Alt attributes of the IMG tags." end mouseEnter on mouseUp global showLog put false into showLog disableThings selectWebPages end mouseUp</script> </part> <part> <id>4</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>29</left> <top>265</top> <right>69</right> <bottom>284</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Quit</name> <script>on mouseEnter FullBalloons "ShowDirect","Quit"&return&return&"Quits HTML Optimizer and HyperCard." end mouseEnter on mouseUp doMenu "Quit HyperCard" end mouseUp</script> </part> <part> <id>5</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>29</left> <top>199</top> <right>129</right> <bottom>218</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Author Info</name> <script>on mouseEnter if the target contains "Author" then FullBalloons "ShowDirect","Author Info"&return&return&"Shows info about other software from"&&¬ "the author of this program." else FullBalloons "ShowDirect","Hide Info"&return&return&"Hides info about the author." end if end mouseEnter on mouseUp FullBalloons "remove" lock screen if not visible of cd fld "About" then disable btn "Print…" show cd fld "About" set name of me to "Hide Info" AddColor colorCard,irisOpen,20 unlock screen with iris open fast else if not visible of cd fld "Log" then enable btn "Print…" hide cd fld "About" set name of me to "Author Info" AddColor colorCard,irisClose,25 unlock screen with iris close fast end if end mouseUp</script> </part> <part> <id>6</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>248</top> <right>416</right> <bottom>260</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Connect</name> <script></script> </part> <part> <id>10</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>16</left> <top>47</top> <right>400</right> <bottom>185</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>10</textSize> <textStyle>plain</textStyle> <textHeight>13</textHeight> <name>Log</name> <script>on mouseUp global showLog if the clickText is "here" then lock screen put false into showLog hide me if not visible of cd fld "About" then enable btn "Print…" AddColor colorCard,irisClose,25 unlock screen with iris close fast else set scroll of me to 0 end mouseUp</script> </part> <part> <id>7</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>16</left> <top>47</top> <right>400</right> <bottom>185</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>10</textSize> <textStyle>plain</textStyle> <textHeight>13</textHeight> <name>About</name> <script>on mouseUp if the clickText contains "http://" then select the clickChunk wait 3 select empty send mouseUp to btn "Connect" else if the clickText contains "@tonbrand" then select the clickChunk wait 3 select empty send mouseUp to btn "sendMail" end if end mouseUp</script> </part> <part> <id>15</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>16</left> <top>47</top> <right>402</right> <bottom>187</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>Status</name> <script></script> </part> <part> <id>23</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>102</left> <top>77</top> <right>324</right> <bottom>89</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>ProgressBase</name> <script></script> </part> <part> <id>22</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>268</left> <top>78</top> <right>323</right> <bottom>88</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>Progress</name> <script></script> </part> <part> <id>26</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>29</left> <top>232</top> <right>129</right> <bottom>251</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Preferences…</name> <script>on mouseEnter FullBalloons "ShowDirect","Preferences"&return&return&"Opens 'Preferences'"&&¬ "where you can customize the operation of HTML Optimizer." end mouseEnter on mouseUp global hi28,hi29,hi30,hi34,hi39,hi44,hi60,hi61,hi68,hi96,hi119,hi127,hi146,en53,li53 if hilite of btn id 28 then put true into hi28 else put false into hi28 if hilite of btn id 29 then put true into hi29 else put false into hi29 if hilite of btn id 30 then put true into hi30 else put false into hi30 if hilite of btn id 34 then put true into hi34 else put false into hi34 if hilite of btn id 39 then put true into hi39 else put false into hi39 if hilite of btn id 44 then put true into hi44 else put false into hi44 if hilite of btn id 60 then put true into hi60 else put false into hi60 if hilite of btn id 61 then put true into hi61 else put false into hi61 if hilite of btn id 68 then put true into hi68 else put false into hi68 if hilite of btn id 96 then put true into hi96 else put false into hi96 if hilite of btn id 119 then put true into hi119 else put false into hi119 if hilite of btn id 127 then put true into hi127 else put false into hi127 if enabled of btn id 53 then put true into en53 else put false into en53 put selectedLine of btn id 53 into li53 FullBalloons "remove" lock screen show cd fld "Prefs" show cd fld "Fake1" show cd fld "Fake2" show cd fld "Fake3" show cd fld "Fake4" show cd fld "Fake5" show cd fld "SmallBlueLine1" show cd fld "SmallBlueLine2" show btn id 28 show btn id 29 show btn id 30 show btn id 34 show btn id 35 show btn id 37 show btn id 38 show btn id 39 show btn id 44 show btn id 53 show btn id 60 show btn id 61 show btn id 68 show btn id 96 show btn id 119 show btn id 127 AddColor addPict,cd,"Savebutton","308,188",o,25 AddColor colorCard,irisOpen,20 unlock screen with iris open fast end mouseUp</script> </part> <part> <id>50</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>16</left> <top>185</top> <right>400</right> <bottom>187</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>BlueLine</name> <script></script> </part> <part> <id>65</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>288</left> <top>232</top> <right>388</right> <bottom>251</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Mark Tags…</name> <script>on mouseEnter put return&return&"Starts the process of marking"&&¬ "dangling tags and incomplete IMG tags." into text1 if enabled of me then FullBalloons "ShowDirect","Mark Tags"&text1 else FullBalloons "ShowDirect","Mark Tags (disabled)"&text1&¬ return&"This button is only enabled if you are a registered user." end if end mouseEnter on mouseUp global showLog put false into showLog disableThings selectWebPages end mouseUp</script> </part> <part> <id>71</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>288</left> <top>265</top> <right>388</right> <bottom>284</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Convert…</name> <script>on mouseEnter FullBalloons "ShowDirect","Convert"&return&return&"Starts the process of converting"&&¬ "special characters between ASCII 128 and 255 to the &....; notation." end mouseEnter on mouseUp global showLog put false into showLog disableThings selectWebPages end mouseUp</script> </part> <part> <id>97</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>75</left> <top>265</top> <right>129</right> <bottom>284</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Print…</name> <script>on mouseEnter if enabled of btn "Print…" then FullBalloons "ShowDirect","Print"&return&return&"Prints the above text." else FullBalloons "ShowDirect","Print (disabled)" end mouseEnter on mouseUp doMenu "Page Setup..." if the result is not "Cancel" then set the printMargins to 70,60,20,20 print cd fld "Intro" set the printMargins to 0,0,0,0 end if end mouseUp</script> </part> <part> <id>93</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>5</left> <top>36</top> <right>410</right> <bottom>292</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Prefs</name> <script> </script> </part> <part> <id>28</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>91</top> <right>208</right> <bottom>107</bottom> </rect> <style>radiobutton</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>1</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Show dialog 'Select File'</name> <script>on mouseEnter FullBalloons "ShowDirect","Show dialog 'Select File'"&return&return&"If selected, shows an"&&¬ "Open File dialog when starting an optimize, check, mark or convert job." end mouseEnter</script> </part> <part> <id>29</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>109</top> <right>227</right> <bottom>125</bottom> </rect> <style>radiobutton</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>1</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Show dialog 'Select Folder'</name> <script>on mouseEnter FullBalloons "ShowDirect","Show dialog 'Select Folder'"&return&return&"If selected, shows an"&&¬ "Open Folder dialog when starting an optimize, check, mark or convert job." end mouseEnter</script> </part> <part> <id>31</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>13</left> <top>66</top> <right>25</right> <bottom>283</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>6</textSize> <textStyle>plain</textStyle> <textHeight>6</textHeight> <name>Fake1</name> <script></script> </part> <part> <id>68</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>180</top> <right>247</right> <bottom>193</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Do not check for ALT attributes</name> <script>on mouseEnter FullBalloons "ShowDirect","Do not check for ALT attributes"&return&return&"If checked,"&&¬ "prevents HTML Optimizer from checking the ALT attributes within IMG tags."&return&¬ "Why would you prefer that? When you have so many missing ALT attributes that it would be"&&¬ "disturbing to mention them all." end mouseEnter</script> </part> <part> <id>30</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>73</top> <right>212</right> <bottom>89</bottom> </rect> <style>radiobutton</style> <showName> <true /> </showName> <highlight> <true /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>1</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Ask what dialog to show</name> <script>on mouseEnter FullBalloons "ShowDirect","Ask what dialog to show"&return&return&"If selected, offers you"&&¬ "a choice between showing either an Open File or an Open Folder dialog when starting an"&&¬ "optimize, check, mark or convert job." end mouseEnter</script> </part> <part> <id>33</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>248</left> <top>66</top> <right>260</right> <bottom>192</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>6</textSize> <textStyle>plain</textStyle> <textHeight>6</textHeight> <name>Fake2</name> <script></script> </part> <part> <id>34</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>194</top> <right>285</right> <bottom>210</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <true /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Do not check for optional End Tags</name> <script>on mouseEnter FullBalloons "ShowDirect","Do not check for optional End Tags"&return&return&"If checked,"&&¬ "optional End Tags are not checked for being present, e.g. </OPTION> or </P>, as these are not mandatory"&&¬ "according to the standards of HTML version 4 (but they are again with XHTML)." end mouseEnter</script> </part> <part> <id>35</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>311</left> <top>192</top> <right>389</right> <bottom>210</bottom> </rect> <style>transparent</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Save</name> <script>on mouseEnter FullBalloons "ShowDirect","Save"&return&return&"Saves the preference settings which you"&&¬ "have currently made." end mouseEnter on mouseUp FullBalloons "remove" lock screen hidePrefs AddColor colorCard,irisClose,25 unlock screen with iris close fast end mouseUp</script> </part> <part> <id>60</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>343</left> <top>88</top> <right>387</right> <bottom>105</bottom> </rect> <style>radiobutton</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>2</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>No</name> <script>on mouseEnter FullBalloons "ShowDirect","Other Creator: No"&return&return&"If selected, disables the Creator code menu." end mouseEnter on mouseDown FullBalloons "remove" pass mouseDown end mouseDown on mouseUp disable btn id 53 answer "Note that if you open an optimized page in the HTML Editor that originally created the page,"&&¬ "most of the optimizing can be undone because the Editor adds its own formatting again!" end mouseUp</script> </part> <part> <id>53</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>274</left> <top>110</top> <right>386</right> <bottom>129</bottom> </rect> <style>popup</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <selectedLines> <integer>1</integer> </selectedLines> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name></name> <script>on mouseEnter put return&return&"This menu shows the Creator codes which you can allocate to your"&&¬ "optimized web pages. You can modify this menu, i.e. add or remove Creator codes."&¬ return&"Note: If you replace a page by one with a new code, the older code is retained."¬ into text1 if enabled of me then FullBalloons "ShowDirect","Creator Menu"&text1 else FullBalloons "ShowDirect","Creator Menu (disabled)"&text1 end if end mouseEnter on mouseUp if selectedText of me is "-" then selectDefault exit mouseUp end if if the optionKey is up then if selectedText of me is "Add/Remove…" then answer "Do you want to add a code or remove one?" with "Cancel","Remove","Add" if it is "Cancel" then selectDefault exit mouseUp end if if it is "Add" then set the itemDelimiter to colon put number of lines of me into numLines answer file "Choose an application or file to get its creator code:" if the result is "Cancel" or it is empty then selectDefault set the itemDelimiter to comma exit mouseUp else put getCreator(it)&" ("&last item of it into temp if char 1 of last word of temp is an integer and char 2 of last word of temp is "." then delete last word of temp if last char of temp is space then delete last char of temp put temp&")"&return before line numLines-1 of me select line numLines-1 of me end if set the itemDelimiter to comma else answer "Hold down the Option key while selecting the code that you wish to remove."&¬ return&"You can't remove the SimpleText creator code ""e&"ttxt""e&" or"&&¬ "the BBEdit creator code ""e&"R*ch""e&"." selectDefault exit mouseUp end if end if else if word 1 of value of selectedLine of me ≠ "ttxt" and¬ word 1 of value of selectedLine of me ≠ "R*ch" and¬ length of word 1 of value of selectedLine of me = 4 then delete selectedLine of me selectDefault end if end mouseUp</script> </part> <part> <id>69</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>238</top> <right>416</right> <bottom>250</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>makeFolder</name> <script></script> </part> <part> <id>36</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>291</left> <top>186</top> <right>303</right> <bottom>284</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>6</textSize> <textStyle>plain</textStyle> <textHeight>6</textHeight> <name>Fake3</name> <script></script> </part> <part> <id>61</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>281</left> <top>88</top> <right>332</right> <bottom>105</bottom> </rect> <style>radiobutton</style> <showName> <true /> </showName> <highlight> <true /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>2</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Yes</name> <script>on mouseEnter FullBalloons "ShowDirect","Other Creator: Yes"&return&return&"If selected,"&&¬ "enables the Creator code menu, enabling you to allocate a different Creator code to your"&&¬ "optimized web pages, so that they are opened in the application concerned when"&&¬ "double-clicked." end mouseEnter on mouseDown FullBalloons "remove" pass mouseDown end mouseDown on mouseUp selectDefault enable btn id 53 end mouseUp</script> </part> <part> <id>37</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>314</left> <top>227</top> <right>388</right> <bottom>246</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Default</name> <script>on mouseEnter FullBalloons "ShowDirect","Default"&return&return&"Cancels the preferences settings which"&&¬ "you have made and restores them to the situation when you installed HTML Optimizer." end mouseEnter on mouseUp lock screen set hilite of btn id 30 to true set hilite of btn id 34 to true set hilite of btn id 39 to false set hilite of btn id 44 to false set hilite of btn id 60 to false set hilite of btn id 61 to true set hilite of btn id 68 to false set hilite of btn id 96 to false set hilite of btn id 119 to true set hilite of btn id 127 to true FullBalloons "off" select line 1 of btn id 53 enable btn id 53 unlock screen end mouseUp</script> </part> <part> <id>38</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>314</left> <top>259</top> <right>388</right> <bottom>278</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Cancel</name> <script>on mouseEnter FullBalloons "ShowDirect","Cancel"&return&return&"Cancels the preference settings which"&&¬ "you have currently made." end mouseEnter on mouseUp global hi28,hi29,hi30,hi34,hi39,hi44,hi60,hi61,hi68,hi96,hi119,hi127,en53,li53 FullBalloons "remove" lock screen set hilite of btn id 28 to hi28 set hilite of btn id 29 to hi29 set hilite of btn id 30 to hi30 set hilite of btn id 34 to hi34 set hilite of btn id 39 to hi39 set hilite of btn id 44 to hi44 set hilite of btn id 60 to hi60 set hilite of btn id 61 to hi61 set hilite of btn id 68 to hi68 set hilite of btn id 96 to hi96 set hilite of btn id 119 to hi119 set hilite of btn id 127 to hi127 if hilite of btn id 96 then FullBalloons "on" else FullBalloons "off" if en53 then enable btn id 53 else disable btn id 53 if length of word 1 of value of li53 is 4 then select li53 else select last line of btn id 53 selectDefault hidePrefs AddColor colorCard,irisClose,25 unlock screen with iris close fast end mouseUp</script> </part> <part> <id>39</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>228</top> <right>300</right> <bottom>243</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Convert special characters on-the-fly</name> <script>on mouseEnter FullBalloons "ShowDirect","Convert special characters on-the-fly"&return&return&¬ "If checked, conversion of special characters is executed automatically before you start an optimizing job." end mouseEnter</script> </part> <part> <id>44</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>144</top> <right>236</right> <bottom>159</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Overwrite previous log data</name> <script>on mouseEnter FullBalloons "ShowDirect","Overwrite previous log data"&return&return&"If checked,"&&¬ "replaces the existing data in the log with the current log data." end mouseEnter</script> </part> <part> <id>86</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>404</left> <top>226</top> <right>416</right> <bottom>238</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>storePath</name> <script>on mouseUp hide me end mouseUp </script> </part> <part> <id>46</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>260</top> <right>416</right> <bottom>272</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>chooseFolderPath</name> <script></script> </part> <part> <id>70</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>17</left> <top>52</top> <right>154</right> <bottom>55</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>SmallBlueLine1</name> <script>on mouseUp beep end mouseUp </script> </part> <part> <id>82</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>5</left> <top>36</top> <right>410</right> <bottom>293</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>Welcome</name> <script>on mouseUp AddColor colorCard, stamp,0 end mouseUp</script> </part> <part> <id>83</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>82</left> <top>230</top> <right>167</right> <bottom>249</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Register…</name> <script>on mouseEnter FullBalloons "ShowDirect","Register…"&return&return&"Shows info on how to pay the"&&¬ "US$ 5 shareware fee and how to enter the registration code." end mouseEnter on mouseUp disable btn "Register…" disable btn "Not yet" answer "The shareware fee for HTML Optimizer is US$ 5.00"&return&¬ "After payment you will receive your registration code." with "Cancel","Code…","How to Pay…" if it is "How to Pay…" then lock screen set scroll of cd fld "Register" to 0 show cd fld "Register" show cd fld "Cover" show btn id 109 show btn id 110 show btn id 111 Addcolor colorCard,barnDoorOpen,20 unlock screen with barn door open fast end if if it is "Code…" then get PassWord("Please enter your registration code:") if it contains "error" then beep answer "Sorry, an error has occurred." exit mouseUp end if if it is not 0 and it is not "Cancel" then if it is not btn id 84 then play "Boing" a5 a4 a3w else repeat ask "Please enter your name:" if the result is "Cancel" then put "Registered to: <anonymous>" into line 6 of cd fld "About…" exit repeat end if if it is not empty then put "Registered to: "&it into line 6 of cd fld "About…" exit repeat else next repeat end repeat put WriteReadPrefs("write","HTML Optimizer Preferences",line 6 of cd fld "About…") into this put "registered" into cd fld id 89 answer "Thank you for registering!" enable btn "Mark Tags…" send mouseUp to btn "Not Yet" end if end if end if enable btn "Register…" enable btn "Not yet" end mouseUp </script> </part> <part> <id>84</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <false /> </enabled> <rect> <left>253</left> <top>230</top> <right>338</right> <bottom>249</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Not Yet</name> <script>on mouseEnter FullBalloons "ShowDirect","Not Yet"&return&return&"Click here to try HTML Optimizer first,"&&¬ "before you decide to register." end mouseEnter on mouseUp FullBalloons "remove" lock screen hide cd fld "Welcome" hide cd fld "Counting" hide btn "Register…" hide btn "©" hide me Addcolor colorCard,barnDoorClose,20 unlock screen with barn door close fast end mouseUp</script> </part> <part> <id>85</id> <type>field</type> <visible> <true /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>200</left> <top>230</top> <right>223</right> <bottom>250</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>bold</textStyle> <textHeight>17</textHeight> <name>Counting</name> <script>on mouseEnter FullBalloons "ShowDirect","7 … 0"&return&return&"Counts from 7 down to 0, so that you have"&&¬ "the opportunity to read the text above it." end mouseEnter on mouseUp beep end mouseUp </script> </part> <part> <id>96</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>274</left> <top>156</top> <right>390</right> <bottom>171</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Balloon Help</name> <script>on mouseEnter FullBalloons "ShowDirect","Balloon Help"&return&return&"If checked, turns Help Balloons on."&&¬ "If unchecked, turns Help Balloons off."&return&"You can also control this button via"&&¬ "'Show/Hide Balloons' from the Help menu."&return&"Balloon Help remains active only"&&¬ "during this session." end mouseEnter on mouseUp if hilite of me then FullBalloons "on" else FullBalloons "off" end mouseUp on mouseWithin Fullballoons "isOn" if the result then pass mouseWithin end mouseWithin </script> </part> <part> <id>91</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>403</left> <top>284</top> <right>415</right> <bottom>296</bottom> </rect> <style>opaque</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>©</name> <script>on mouseEnter FullBalloons "ShowDirect","Copyright"&return&return&"Shows a copyright listing." end mouseEnter on mouseUp disable btn "Register…" disable btn "Not yet" answer "COPYRIGHTS"&return&return&"HTML Optimizer © (1999 - 2000) Ton Brand"&return&return&¬ "Externals:"&return&"AddColor © Apple Computer Inc."&return&"FullOffset, FullReplace, GetMode, FullBalloons and CreateMenuHelp © Frédéric Rinaldi"&return&¬ "WriteToFile and PassWord © Kevin Calhoun"&return&"SystemFont © Matthias Kahlert." enable btn "Register…" enable btn "Not yet" end mouseUp</script> </part> <part> <id>114</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>237</top> <right>416</right> <bottom>249</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>ConnectKagi</name> <script></script> </part> <part> <id>113</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>224</top> <right>416</right> <bottom>236</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>sendMail</name> <script></script> </part> <part> <id>131</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>272</top> <right>416</right> <bottom>284</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>openBrowser</name> <script></script> </part> <part> <id>126</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>236</top> <right>416</right> <bottom>248</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Welcome</name> <script></script> </part> <part> <id>143</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>187</top> <right>416</right> <bottom>199</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>downloadBBEdit</name> <script></script> </part> <part> <id>49</id> <type>button</type> <visible> <true /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>0</left> <top>0</top> <right>416</right> <bottom>296</bottom> </rect> <style>rectangle</style> <showName> <true /> </showName> <highlight> <true /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>HTML Optimizer is starting up…</name> <script>on mouseUp hide me end mouseUp</script> </part> <part> <id>119</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>264</top> <right>216</right> <bottom>279</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <true /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Remove Carriage Returns</name> <script>on mouseEnter FullBalloons "ShowDirect","Remove Carriage Returns"&¬ return&return&"If checked, Carriage Returns are removed, but not from embedded scripts."&return&¬ "If you encounter problems with some (unofficial) HTML code, then uncheck this option." end mouseEnter</script> </part> <part> <id>94</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>261</left> <top>66</top> <right>273</right> <bottom>176</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>6</textSize> <textStyle>plain</textStyle> <textHeight>6</textHeight> <name>Fake4</name> <script></script> </part> <part> <id>89</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>404</left> <top>214</top> <right>416</right> <bottom>226</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name></name> <script>on mouseUp hide me end mouseUp </script> </part> <part> <id>92</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>260</left> <top>52</top> <right>395</right> <bottom>55</bottom> </rect> <style>opaque</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>SmallBlueLine2</name> <script>on mouseUp beep end mouseUp </script> </part> <part> <id>95</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>390</left> <top>66</top> <right>402</right> <bottom>177</bottom> </rect> <style>transparent</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>6</textSize> <textStyle>plain</textStyle> <textHeight>6</textHeight> <name>Fake5</name> <script></script> </part> <part> <id>107</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <false /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>0</left> <top>33</top> <right>416</right> <bottom>246</bottom> </rect> <style>scrolling</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>9</textSize> <textStyle>plain</textStyle> <textHeight>12</textHeight> <name>Register</name> <script>on mouseUp if the clickText contains "http://www.tonbrand" then select the clickChunk wait 3 select empty send mouseUp to btn "Connect" else if the clickText contains "@tonbrand" then select the clickChunk wait 3 select empty send mouseUp to btn "sendMail" else if the clickText contains "http://order.kagi" then select the clickChunk wait 3 select empty send mouseUp to btn "ConnectKagi" else if the clickText contains "Launch the Register Utility" then select the clickChunk wait 3 select empty send mouseUp to btn id 111 else set scroll of me to 0 end mouseUp </script> </part> <part> <id>64</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <true /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>81</left> <top>65</top> <right>337</right> <bottom>189</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <true /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Geneva</font> <textSize>10</textSize> <textStyle>plain</textStyle> <textHeight>15</textHeight> <name>About…</name> <script>on mouseUp lock screen hide me AddColor colorCard,stamp,0 end mouseUp </script> </part> <part> <id>108</id> <type>field</type> <visible> <false /> </visible> <dontWrap> <false /> </dontWrap> <dontSearch> <true /> </dontSearch> <sharedText> <false /> </sharedText> <fixedLineHeight> <false /> </fixedLineHeight> <autoTab> <false /> </autoTab> <lockText> <true /> </lockText> <rect> <left>0</left> <top>246</top> <right>416</right> <bottom>296</bottom> </rect> <style>rectangle</style> <autoSelect> <false /> </autoSelect> <showLines> <false /> </showLines> <wideMargins> <false /> </wideMargins> <multipleLines> <false /> </multipleLines> <reservedFamily> 0 </reservedFamily> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>left</textAlign> <font>Geneva</font> <textSize>12</textSize> <textStyle>plain</textStyle> <textHeight>16</textHeight> <name>Cover</name> <script></script> </part> <part> <id>109</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>325</left> <top>260</top> <right>391</right> <bottom>279</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>OK</name> <script>on mouseEnter FullBalloons "ShowDirect","OK"&return&return&"Closes the above text field." end mouseEnter on mouseUp lock screen hide cd fld "Register" hide cd fld "Cover" hide btn id 109 hide btn id 110 hide btn id 111 Addcolor colorCard,barnDoorClose,20 unlock screen with barn door close fast end mouseUp</script> </part> <part> <id>110</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>24</left> <top>260</top> <right>90</right> <bottom>279</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Print…</name> <script>on mouseEnter FullBalloons "ShowDirect","Print"&return&return&"Prints the register information shown above." end mouseEnter on mouseUp doMenu "Page Setup..." if the result is "Cancel" then exit mouseUp set the printMargins to 60,40,30,30 print cd fld "Register" end mouseUp</script> </part> <part> <id>111</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>114</left> <top>260</top> <right>302</right> <bottom>279</bottom> </rect> <style>standard</style> <showName> <true /> </showName> <highlight> <false /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Launch the Register Utility</name> <script></script> </part> <part> <id>127</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>20</left> <top>246</top> <right>220</right> <bottom>261</bottom> </rect> <style>checkbox</style> <showName> <true /> </showName> <highlight> <true /> </highlight> <autoHighlight> <true /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>Remove optional End Tags</name> <script>on mouseEnter FullBalloons "ShowDirect","Remove optional End Tags"&return&return&"If checked,"&&¬ "optional End Tags such as </OPTION> or </P> are removed (not with XHTML documents)." end mouseEnter</script> </part> <part> <id>136</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>212</top> <right>416</right> <bottom>224</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>selectFolderPath</name> <script></script> </part> <part> <id>139</id> <type>button</type> <visible> <false /> </visible> <reserved5> 0 </reserved5> <reserved4> 0 </reserved4> <reserved3> 0 </reserved3> <reserved2> 0 </reserved2> <reserved1> 0 </reserved1> <enabled> <true /> </enabled> <rect> <left>404</left> <top>201</top> <right>416</right> <bottom>213</bottom> </rect> <style>rectangle</style> <showName> <false /> </showName> <highlight> <false /> </highlight> <autoHighlight> <false /> </autoHighlight> <sharedHighlight> <true /> </sharedHighlight> <family>0</family> <titleWidth>0</titleWidth> <icon>0</icon> <textAlign>center</textAlign> <font>Charcoal</font> <textSize>12</textSize> <textStyle>plain</textStyle> <name>activateMe</name> <script></script> </part> <content> <layer>card</layer> <id>1</id> <text><span class="style2">TML Optimizer offers 4 functions</span><span class="style1">: </span><span class="style23">(Balloon Help is supported)</span><span class="style1"> </span><span class="style2"> 1</span><span class="style1">. Its main function is to </span><span class="style2">save space</span><span class="style1"> on your web pages by removing unnecessary characters and tags. Though the savings percentage may seem small, load time savings is much higher as your client's Internet browser parses the pages more efficient. Embedded script code, e.g. JavaScript, is not ruined by HTML Optimizer! Click </span><span class="style28"><a href="#" class="group">'</a></span><span class="style3"><a href="#" class="group">About Optimizing</a></span><span class="style28"><a href="#" class="group">'</a></span><span class="style1"> for more info. </span><span class="style2"> 2</span><span class="style1">. Another function is to </span><span class="style2">check the tagged pair structure</span><span class="style1"> of your web pages. Any dangling tag will be reported. Moreover, the IMG tags are checked for the presence of the Width, Height and Alt attributes. The Width and Height attributes are necessary for building up the page as fast as possible. The Alt attribute makes your page more user-friendly under some circumstances. If you go to </span><span class="style2">Preferences</span><span class="style1">, you can choose to have the Alt attributes and/or optional (End) Tags being checked or not. Finally, obsolete and browser-dependent tags are reported. </span><span class="style2"> 3</span><span class="style1">. You can choose to not only check the tagged pair structure and IMG tags, but also </span><span class="style2">mark the dangling tags</span><span class="style1"> and </span><span class="style2">incomplete IMG tags</span><span class="style1"> with the character •, so that you can find them quickly. The marking within a nested tag structure is not always completely accurate, but still easy to interpret. Saved files get • as prefix. </span><span class="style2"> 4</span><span class="style1">. Finally, you can check for special characters like é and ü, and </span><span class="style2">convert</span><span class="style1"> them to the appropriate &.....; notation; all within the ASCII 128 to 255 range. </span><span class="style2">About Optimizing </span><span class="style1"> During the optimizing process, your original pages remain untouched for later updating, which is quite useful since optimized pages have lost their original layout (if you agreed to remove the carriage returns). New text files are created, by default with the Creator code R*ch of </span><span class="style2">BBEdit</span><span class="style1">, and put in the folder named </span><span class="style2">Optimizer Output</span><span class="style1">. If you don't have BBEdit, download a free copy of BBEdit Lite from </span><span class="style3"><a href="#" class="group">http://www.barebones.com/free/bbedit_lite.html</a></span><span class="style1"> View the optimized pages in your browser before uploading to a web server, but keep in mind that the links only work when you put the files in your web folder. However,</span><span class="style2"> take care that you do not replace your originals!</span><span class="style1"> </span><span class="style2">Which tags and characters are removed by default?</span><span class="style1"> HTML Optimizer removes the following </span><span class="style2">tags</span><span class="style1">: Optional end tags such as </LI> Forbidden end tags such as </IMG> Redundant Editor tags The following </span><span class="style2">characters</span><span class="style1"> are removed: Carriage returns Line Feeds and Form Feeds Tabs Multiple white space Redundant white space </span><span class="style2">Note</span><span class="style1"> that carriage returns and multiple whitespace are not removed from code between the following tags: <SCRIPT> and </SCRIPT> <APPLET> and </APPLET> <OBJECT> and </OBJECT> <STYLE> and </STYLE> <PRE> and </PRE> <NOOP> and </NOOP> (custom tags) The begin tags of these six pairs may have a string included, e.g. <SCRIPT language="JavaScript">, and case does not matter. </span><span class="style2">About the Configure menu</span><span class="style1"> If you wish to change the location of the Optimizer Output folder or re-confirm it after an error message, or if you have to confirm a different standard Internet browser (as set in Internet Config or the control panel Internet), then you need to choose the appropriate menu command from the Configure menu. </span><span class="style2">About the View Page button</span><span class="style1"> This button enables you to view the current page in your Internet browser, after an optimizing and/or converting job. If more pages were handled you can select one. The button is only available if you are a registered user and further only after a finished job that resulted in a file being written to the Optimizer Output folder. </span><span class="style23">(click in this text field to go back to the top)</span></text> </content> <content> <layer>card</layer> <id>7</id> <text><span class="style1">y name is </span><span class="style2">Ton Brand</span><span class="style1">. I am a Dutch freelance Mac programmer.</span><span class="style2"> HTML Optimizer</span><span class="style1"> is one of my other applications; such as, for example: </span><span class="style2">CuliDataBase</span><span class="style1"> - the ultimate recipe management tool for food lovers; </span><span class="style2">RightWord</span><span class="style1">- word game for one or two players, works also in a network; </span><span class="style2">HTML-OptimizerPlus</span><span class="style1"> - professional PPC version of HTML Optimizer. You can download them from </span><span class="style3"><a href="#" class="group">http://www.tonbrand.nl/</a></span><span class="style1"> If you have any comments, remarks or bug reports, please contact me at </span><span class="style3"><a href="#" class="group">bugs@tonbrand.nl</a></span><span class="style1"> or at <TonBrand@kagi.com> if the first link fails. Signed: Ton Brand, Ton's Software, The Netherlands. </span><span class="style28"><a href="#" class="group">Postal</a></span><span class="style1"> address: De Breembos 2, 5673 KG Nuenen, The Netherlands.</span></text> </content> <content> <layer>card</layer> <id>15</id> <text><span class="style1"> </span><span class="style14">PROGRESS</span><span class="style1"> </span><span class="style12">(Type command-period to stop)</span><span class="style1"> </span><span class="style14">Optimizing:</span><span class="style1"> index_test2.html </span><span class="style14">Files remaining to be optimized:</span><span class="style1"> 1 </span><span class="style12">(conversion not included)</span><span class="style1"> Checking: NoImageAttributes.htm Files remaining to be checked: 1 </span></text> </content> <content> <layer>card</layer> <id>6</id> <text>open url "http://www.tonbrand.nl/"</text> </content> <content> <layer>card</layer> <id>31</id> <text>| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |</text> </content> <content> <layer>card</layer> <id>33</id> <text>| | | | | | | | | | | | | | | | </text> </content> <content> <layer>card</layer> <id>10</id> <text><span class="style1"> </span><span class="style11">LOG</span><span class="style1"> (click </span><span class="style4">here</span><span class="style1"> to hide the log) The optimized page and this log are in the Optimizer Output folder. </span></text> </content> <content> <layer>card</layer> <id>53</id> <text>R*ch (BBEdit) ttxt (SimpleText) MSIE (Internet Explorer) MOSS (Netscape) - Add/Remove…</text> </content> <content> <layer>card</layer> <id>64</id> <text> HTML Optimizer 3.3.2 Copyright (1999-2000) Ton Brand •• unregistered copy •• </text> </content> <content> <layer>card</layer> <id>82</id> <text><span class="style1"></span><span class="style49">HTML Optimizer</span><span class="style2"> </span><span class="style1"> This copy is registered to: •• </span><span class="style2">unregistered copy</span><span class="style1"> •• </span><span class="style12">Please keep the shareware principle alive! If unregistered, the buttons View Page and Mark Tags are disabled and the Optimize and Check Tags functions are restricted to three files per folder. </span><span class="style23"> Copyright (1999-2000) Ton Brand</span></text> </content> <content> <layer>card</layer> <id>85</id> <text>7</text> </content> <content> <layer>card</layer> <id>84</id> <text>31678</text> </content> <content> <layer>card</layer> <id>86</id> <text>HD Mac OS New:Eigen creaties</text> </content> <content> <layer>card</layer> <id>89</id> <text>Optimizer</text> </content> <content> <layer>card</layer> <id>5</id> <text>if "unregistered" is in cd fld id 64 and "Registered to:" is not in prefs then lock screen prepareIntro AddColor colorCard,stamp,0 unlock screen end if Intro </text> </content> <content> <layer>card</layer> <id>93</id> <text><span class="style2"> </span><span class="style11">PREFERENCES</span><span class="style2"> </span><span class="style1">----- </span><span class="style12">When starting</span><span class="style1"> -------------------------</span><span class="style13">--</span><span class="style1"> </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">After optimizing</span><span class="style1"> ---- </span><span class="style30">Other Creator?</span><span class="style1"> </span><span class="style18"> </span><span class="style1"> ---------------------------------------------</span><span class="style13">--</span><span class="style1"> </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">When saving the log</span><span class="style1"> ---------------------- </span><span class="style18"> </span><span class="style1"> -------------------------</span><span class="style12">-</span><span class="style1"> </span><span class="style18"> </span><span class="style1"> </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">Miscellaneous</span><span class="style13"> </span><span class="style1">---</span><span class="style13">---</span><span class="style1"> </span><span class="style18"> </span><span class="style1"> ---------------------------------------------</span><span class="style13">-- </span><span class="style1"> </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">When checking or marking</span><span class="style1"> --------------</span><span class="style12">- </span><span class="style13"> </span><span class="style1">-------------------------</span><span class="style12">-</span><span class="style1"> --------- </span><span class="style18"> </span><span class="style1"> -------------------------------------------------------- </span><span class="style18"> </span><span class="style1"> ----- </span><span class="style12">When optimizing</span><span class="style1"> -------------------------------</span><span class="style46">-</span><span class="style47">-</span><span class="style1"> </span><span class="style18"> </span><span class="style1"> --------------------------------------------------------</span><span class="style2"> </span></text> </content> <content> <layer>card</layer> <id>94</id> <text><span class="style1"> | | | | | | | | | | | | | | | </span><span class="style29"></span></text> </content> <content> <layer>card</layer> <id>95</id> <text>| | | | | | | | | | | | | | | | </text> </content> <content> <layer>card</layer> <id>36</id> <text>| | | | | | | | | | | | | | |</text> </content> <content> <layer>card</layer> <id>107</id> <text><span class="style12">ote that underlined text is clickable. </span><span class="style30">Paying for HTML Optimizer is simple</span><span class="style12">: You can use the </span><span class="style30">Register Utility</span><span class="style12"> (</span><span class="style30">1</span><span class="style12">) or you can pay via the </span><span class="style30">Internet</span><span class="style12"> (</span><span class="style30">2</span><span class="style12">). (</span><span class="style30">1</span><span class="style12">) </span><span class="style33"><a href="#" class="group">Launch the Register Utility</a></span><span class="style12">. Enter your name, your e-mail address if you have one, and the number of Single User licenses you desire for HTML Optimizer. Save or copy or print the data from the Register Utility and send it to Kagi. Kagi will process your registration and forward your payment to me. (</span><span class="style30">2</span><span class="style12">) Secure Online Registration is possible at </span><span class="style33"><a href="#" class="group">http://order.kagi.com/?U5P</a></span><span class="style12">. </span><span class="style30">Payment details</span><span class="style12"> If you pay with </span><span class="style30">Cash</span><span class="style12"> or </span><span class="style30">Check </span><span class="style12">(US$ only!), you should print the data using the Register utility and send it to the address shown on the form, which is: </span><span class="style32">          </span><span class="style12">Kagi </span><span class="style32">          </span><span class="style12">1442-A Walnut Street #392-U5P </span><span class="style32">          </span><span class="style12">Berkeley, CA 94709-1405 </span><span class="style32">          </span><span class="style12">USA. If you pay with </span><span class="style30">Credit Card </span><span class="style12">or</span><span class="style30"> First Virtual</span><span class="style12">, you can email or fax the data to Kagi. Their email address is </span><span class="style33"><a href="#" class="group">sales@kagi.com</a></span><span class="style12"> and their fax number is +1 (510) 6526589. You can either copy the data from the Register utility and paste it into the body of an email message, or you can save the data to a file and attach the file to an email message. There's no need to compress the data file; it's already pretty small. If you have a fax modem, just print the data to the kagi fax number. </span><span class="style30">Order processing time</span><span class="style12"> depends on your payment method: Payments sent via postal mail take time to reach Kagi and then up to 10 days for processing. Payments sent via email and through the online registration site are processed within 3 to 4 days. You will receive an email acknowledgement when your registration is done. Payments sent via fax take up to 10 days. </span><span class="style30">If you don’t want to pay via Kagi</span><span class="style12">, you can send 7 dollars (the 2 dollar extra is to cover exchange charges), to my postal address below. Don't forget to send me an email message as well, with your name and address in it, and put "Opt Reg" in the subject header. </span><span class="style30"> Thank you</span><span class="style12"> for keeping the shareware principle alive! Ton Brand Ton's Software De Breembos 2 5673 KG Nuenen The Netherlands </span><span class="style33"><a href="#" class="group">http://www.tonbrand.nl</a></span><span class="style12"> </span><span class="style33"><a href="#" class="group">mailto:info@tonbrand.nl</a></span><span class="style12"> </span><span class="style33"><a href="#" class="group"> </a></span><span class="style12">Second email address is <TonBrand@kagi.com>, only to be used if the first one fails. Please do </span><span class="style30">not</span><span class="style12"> send mail to </span><span class="style30">both</span><span class="style12"> addresses at the same time!</span><span class="style2"> </span></text> </content> <content> <layer>card</layer> <id>113</id> <text>open url "mailto:bugs@tonbrand.nl"</text> </content> <content> <layer>card</layer> <id>114</id> <text>open url "http://order.kagi.com/?U5P"</text> </content> <content> <layer>card</layer> <id>65</id> <text>moved</text> </content> <content> <layer>card</layer> <id>131</id> <text>Internet Explorer 4.5</text> </content> <content> <layer>card</layer> <id>71</id> <text>HD Mac OS New:Eigen creaties:HTML OptimizerPro:OptimizerPro 1.8:HTML Optimizer 3.3.2ƒ:</text> </content> <content> <layer>card</layer> <id>143</id> <text>open url "http://www.barebones.com/free/bbedit_lite.html"</text> </content> <content> <layer>card</layer> <id>26</id> <text>HD Mac OS New:</text> </content> <content> <layer>card</layer> <id>42</id> <text>HD Mac OS New</text> </content> <name></name> <script>on selectWebPages global noAS set the itemDelimiter to colon if not hilite of btn id 28 and not hilite of btn id 29 and not hilite of btn id 30 then set hilite of btn id 30 to true put empty into text1 if btn id 26 is empty then put btn id 71 into btn id 26 put true into noAS end if if "Optimize" is in the target then put "optimize" into action put " LOG (click here to hide the log)"&return&return&¬ "The optimized page and this log are in the Optimizer Output folder."&¬ return into cd fld "Log" else if "Check" is in the target then put "check" into action put " LOG (click here to hide the log)"&return&return&¬ "The log is in the Optimizer Output folder."&return into cd fld "Log" else if "Mark" is in the target then put "mark" into action put " LOG (click here to hide the log)"&return&return&¬ "The marked page and this log are in the Optimizer Output folder."&¬ return into cd fld "Log" put return&return&"If a dangling tag is found, < is replaced with • , so if </FORM> "&&¬ "is lacking, you see •FORM> instead of the accompanying <FORM> , or vice versa." into text1 else if "Convert" is in the target then put "convert" into action put " LOG (click here to hide the log)"&return&return&¬ "The converted page and this log are in the Optimizer Output folder."&¬ return into cd fld "Log" put return&return&"Characters between ASCII 128 and ASCII 255 will be checked and,"&&¬ "if necessary, converted to the appropriate & ..... ; notation." into text1 end if set textSize of word 1 of cd fld "Log" to 12 set textStyle of word 1 of cd fld "Log" to bold set textStyle of word 3 of cd fld "Log" to underline put empty into listWebPages put empty into mySelect if hilite of btn id 30 then answer "Do you want to"&&action&&"a whole set of web pages in one pass"&&¬ "or do you want to do one page at a time?"&text1 with "Cancel","All Pages","One Page" else if hilite of btn id 28 then answer file "Select a web page:" of type "TEXT" else if hilite of btn id 29 then answer folder "Select a web folder:" end if if it is "Cancel" then enableThings exit to HyperCard else if it is "One Page" or hilite of btn id 28 then if not hilite of btn id 28 then answer file "Select a web page:" of type "TEXT" if the result is "Cancel" then enableThings exit to HyperCard else put "one" into mySelect put it into thisPath put last item of thisPath into listWebPages put empty into last item of thisPath if "unregistered" is not in cd fld "About…" then if action is "optimize" or action is "convert" then put "You can view the page in your browser by clicking the View Page button."&¬ return after cd fld "Log" end if end if end if else if it is "All Pages" or hilite of btn id 29 then if not hilite of btn id 29 then answer folder "Select a web folder:" if the result is "Cancel" then enableThings exit to HyperCard else put it into thisPath put "all" into mySelect if action is not "check" then put "s" after word 3 of line 3 of cd fld "Log" end if end if put GetFolderConts(thisPath,files) into listWebPages if the result contains "Error" then put the result into theResult beep answer "Sorry, an error has occurred."&return&return&theResult enableThings exit to HyperCard end if end if repeat with i = number of lines of listWebPages down to 1 if ".htm" is not in line i of listWebPages and ".spm" is not in line i of listWebPages and¬ ".x" is not in line i of listWebPages and ".shtm" is not in line i of listWebPages and¬ ".wml" is not in line i of listWebPages and ".txt" is not in line i of listWebPages and¬ ".eht" is not in line i of listWebPages and ".cfm" is not in line i of listWebPages and¬ ".stm" is not in line i of listWebPages and ".taf" is not in line i of listWebPages and¬ ".lasso" is not in line i of listWebPages and ".asp" is not in line i of listWebPages then delete line i of listWebPages end if end repeat if listWebPages is empty then put "(a web page must have the correct file extension, for example .htm)" into text2 if mySelect is "one" then answer "You did not select a web page."&return&text2 with "Cancel" if mySelect is "all" then answer "You did not select a folder containing web pages."&return&text2 with "Cancel" enableThings exit to HyperCard end if set cursor to busy optimizeWebPages thisPath,thisPage,listWebPages,mySelect,action end selectWebPages on optimizeWebPages thisPath,thisPage,listWebPages,mySelect,action global whatLog,isConverted,lastPage,thisSelect put mySelect into thisSelect disable btn "View Page" put number of lines of listWebPages into numLines if not hilite of btn id 39 then if action is "optimize" then put "(conversion not included)" into line 8 of cd fld "Status" else put empty into line 8 of cd fld "Status" set textSize of line 8 of cd fld "Status" to 10 else put empty into line 8 of cd fld "Status" if action is "check" then put "Check Log" into whatLog put "Checking:" into word 1 of line 4 of cd fld "Status" put "checked:" into word 5 of line 6 of cd fld "Status" else if action is "optimize" then put "Optimize Log" into whatLog put "Optimizing:" into word 1 of line 4 of cd fld "Status" put "optimized:" into word 5 of line 6 of cd fld "Status" else if action is "mark" then put "Mark Log" into whatLog put "Marking:" into word 1 of line 4 of cd fld "Status" put "marked:" into word 5 of line 6 of cd fld "Status" else if action is "convert" then put "Convert Log" into whatLog put "Converting:" into word 1 of line 4 of cd fld "Status" put "converted:" into word 5 of line 6 of cd fld "Status" end if put empty into word 2 to (number of words of line 4 of cd fld "Status")¬ of line 4 of cd fld "Status" put empty into word 6 of line 6 of cd fld "Status" lock screen show cd fld "Status" show cd fld "Progress" show btn "ProgressBase" set rect of cd fld "Progress" to "103,78,323,88" AddColor colorCard,stamp,0 unlock screen set the itemDelimiter to tab put 0 into totalDif put 0 into totalSize put false into writeFile put 103 into leftMargin repeat with i = 1 to numLines set cursor to busy add round(55/numLines) to leftMargin set rect of cd fld "Progress" to "leftMargin,78,323,88" AddColor colorCard,stamp,0 put line i of listWebPages into thisPage put getCreator(thisPath&line i of listWebPages) into thisCreator if hilite of btn id 61 and length of word 1 of selectedText of btn id 53 = 4 and¬ action is "optimize" then put word 1 of selectedText of btn id 53 into thisCreator repeat until char 1 of thisPage is not space if char 1 of thisPage is space then delete char 1 of thisPage end repeat put thisPage into word 2 to (number of words of line 4 of cd fld "Status")¬ of line 4 of cd fld "Status" put numLines-i+1 into word 6 of line 6 of cd fld "Status" open file thisPath&line i of listWebPages read from file thisPath&line i of listWebPages until eof put it into storage close file thisPath&line i of listWebPages if action is "check" then put markImageAttributes(storage,thisPage) into this if action is "mark" then put markImageAttributes(storage,thisPage) into storage if "•" is in storage then put true into writeFile end if add round(55/numLines) to leftMargin set rect of cd fld "Progress" to "leftMargin,78,323,88" AddColor colorCard,stamp,0 if action is "optimize" then if hilite of btn id 39 then put convertChars(storage,thisPage) into storage end if put length of storage into L1 put optimize(storage) into storage put length of storage into L2 end if if action is "check" then put markTagStructure(storage,thisPage) into this put markObsoleteTags(storage,thisPage) into this end if if action is "mark" then put markTagStructure(storage,thisPage) into storage put markObsoleteTags(storage,thisPage) into storage end if if action is "convert" then put convertChars(storage,thisPage) into storage if "•" is in storage or isConverted is true then put true into writeFile add round(55/numLines) to leftMargin set rect of cd fld "Progress" to "leftMargin,78,323,88" AddColor colorCard,stamp,0 if "Optimized by HTML Optimizer" is not in line 1 of storage then put "<!--Optimized by HTML Optimizer, copyright (1999 - 2000) Ton Brand-->"&¬ return before storage end if if action is "optimize" then WriteToFile storage,true,btn id 26&"Optimizer Output:"&thisPage,false,thisCreator else if action is "mark" and writeFile is true then WriteToFile storage,true,btn id 26&"Optimizer Output:"&"•"&thisPage,false,thisCreator else if action is "convert" and writeFile is true then WriteToFile storage,true,btn id 26&"Optimizer Output:"&thisPage,false,thisCreator end if if word 1 of the result contains "Error" then put the result into theResult errorMessage theResult,thisPage end if add round(55/numLines) to leftMargin put 220/numLines into a put 4*round(55/numLines) into b if leftMargin < 320 then add round(a-b) to leftMargin put 4*(a-b) into c put 4*round(a-b) into d if i/4 is an integer and leftMargin < 322 then add round(c-d) to leftMargin set rect of cd fld "Progress" to "leftMargin,78,323,88" AddColor colorCard,stamp,0 if action is "optimize" then put L1-L2 into dif add L1 to totalSize if L1 ≠ 0 then put (dif/L1)*100 into perc else put 0 into perc if perc <1 then set numberFormat to "0.##" else if perc < 10 then set numberFormat to "0.#" else set numberFormat to "0." put return&"Saved on '"&thisPage&"'"&&dif&&"characters;"&&¬ perc&"% of the original." after cd fld "Log" add dif to totalDif end if if i ≥ 3 and "unregistered" is in cd fld "About…" then if action is "optimize" then beep answer "Sorry, optimizing a folder is restricted to 3 files if you have not registered." exit repeat else if action is "check" then beep answer "Sorry, checking a folder is restricted to 3 files if you have not registered." exit repeat end if end if end repeat set rect of cd fld "Progress" to "323,78,323,88" AddColor colorCard,stamp,0 set cursor to hand if mySelect is "all" and i > 25 then play "Attention" wait until the sound is done if action is "optimize" then if totalSize ≠ 0 then put (totalDif/totalSize)*100 into totalPerc else put 0 into totalPerc put return&return&"Saved total up to"&&totalDif&&"characters, which is on average"&&¬ totalPerc&"%." after cd fld "Log" set textStyle of word 5 of last line of cd fld "Log" to bold set textStyle of word 11 of last line of cd fld "Log" to bold saveLog else if "Found in" is not in cd fld "Log" and "Found no" is not in cd fld "Log" then put "No problems found."&return&"Log not saved." into line 3 of cd fld "Log" else saveLog end if set numberFormat to "0.######" set the itemDelimiter to comma lock screen enableThings hide cd fld "Status" hide cd fld "Progress" hide btn "ProgressBase" if number of lines of cd fld "Log" > 10 then put return&return&"(click inside this log to go back to the top)" after cd fld "Log" set textSize of last line of cd fld "Log" to 10 set textStyle of last line of cd fld "Log" to plain end if show cd fld "Log" disable btn "Print…" put thisPage into lastPage if action is "optimize" or action is "convert" then if "Log not saved" is not in line 4 of cd fld "Log" then enableView else if "view the page in your browser" is in line 5 of cd fld "Log" then delete line 5 of cd fld "Log" end if end if AddColor colorCard,irisOpen,20 unlock screen with iris open fast end optimizeWebPages on selectDefault global li53 if length of word 1 of value of li53 is 4 then select li53 else select line 1 of btn id 53 end selectDefault on mouseUp Addcolor colorCard,stamp,0 end mouseUp</script> </card>